package com.atao.baokede.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "alipay")
public class AliPayConfig {
    //支付宝的APPID
    private String appId;
    //商户私钥
    private String appPrivateKey;
    //支付宝公钥
    private String alipayPublicKey;
    //回调地址
    private String notifyUrl;
}